﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02_UKflag
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            for (int i = 1; i <= n; i++)
            {
                for (int j = 1; j <= n; j++)
                {
                    if ((i==(n/2+1))&&(j==(n/2+1)))
                    {
                        Console.Write("*");
                    }
                    else if (i==(n/2+1))
                    {
                        Console.Write("-");
                    }
                    else if (j==(n/2+1))
                    {
                        Console.Write("|");
                    }
                    else if (i==j)
                    {
                        Console.Write("\\");
                    }
                    else if (j == (n - i + 1))
                    {
                        Console.Write("/");
                    }
                    else
                    {
                        Console.Write(".");
                    }
                }
                Console.WriteLine();
            }
        }
    }
}
